<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container{
            width: 300px;
            height: 300px;
            background: red;
        }
        .box{
            width: 100px;
            height: 100px;
            background: blue;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="box"></div>
    </div>
    <script>
        // var containerEle = document.querySelector(".container");
        // containerEle.onmouseenter = function(){
        //     console.log("移入");
        // }


        // var timer = setTimeout(function(){
        //     console.log("set");
        // }, 1000);
        // console.log(timer);
        // var timer2= setTimeout(function(){
        //     console.log("set");
        // }, 1000);
        // console.log(timer2);

    </script>
</body>
</html>